<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>02背景图片平铺</title>
    <style>
        .box {
            height: 300px;
            width: 300px;
            background-image: url(./images/kobe01.jpg);
            /* 
                常用的:
                    repeat : 表示 x y 方向都 repeat 
                    no-repeat : 表示不重复
                    repeat-x : 表示某一方向 repeat 
            
            */
            background-repeat: repeat-x;
        }
    </style>
</head>

<body>
    <div class="box">

    </div>
</body>

</html>